adjust marker position to compensate for width/height