fixed image drawing boundries