add convenient getScreenCoordinates method and also imprvoed rendering problems when using animations on my mac