change view port to fix layout bug