Core: Use predefined resolution modes instead of allowing arbitrary resolutions