added fps limiting