bugfix + posX/posY is now dynamic