Fix issue 95 preview panel on media edit page

Fix issue https://github.com/AUTUpStageTeam/UpStage2013/issues/95