How to draw image faster