Fix so setting frame to blank page works also while frame is loading another page