Revert "Apply fix for OpenEmu/OpenEmu#539 again"

This reverts commit 39a882c51cd170b5b8327c4589c64df5c9af3d96.