Fixed frameCenterX and frameCenterY (forgot to include .h file)