I was holding E, put the green square over the ship and released E. The line showed up, but the ship didn't sank. It just kept shooting and moving.
To shoot u actually need to left click, e is just for aiming