Made preparations for scissor test, which will be used later for the user interface rendering.

Changed file size from uint64 to uint32.