Make sure panels are created on the correct screen
Re-upload because I accidentally pushed this branch to the main repo and I forgot the bug number
The code before intended to put the panel on the current screen but failed to do so because panel creation was delayed. With this patch the panel is immediately created.