Definitely need it lower as in your second pic. Also, most people put the intake pipe and the outflow pipe on opposite sides of the tank to improve flow.
What is that black stuff you are using to hide the piping inside the tank?
Sent from my iPhone using Aquarium Advice