moved functions for correcting playfield buffer position to EM engine