If you're rooted :
Type this in terminal emulator then reboot
settings put global enable_freeform_support 1
If you're not rooted :
Enable usb debugging in developer setting, connect via adb and type this on your computer the reboot
adb shell settings put global enable_freeform_support 1