Add some conditionals to get rid of warning messages from getScreenSpaceCoord and getScreenToEyeScale