PSGFrame and PSGSFXFrame function separated