Try to fix issue on windows by removing unneeded controls