fix app crash on some devices when flash not supported
fixing preview appearing for 4:3 ratio and setting mainbackground to black