fix positioning problems, and image rotation, still buggy