foregroundX not working