canvas size setting optimize and fps setting update