[WIP] Fix platform_display behavior on android and win32