Mouse down to aim, mouse up to shoot. Always aim after the cloud of dust (arrows) has disappeared.
If you find something weird about the enemy, let's just say the enemy doesn't have stable hands but has a very flexible body. :) You will know why I made it rainbow if you take a look at the code.