i need help making this image render over the sidebar correctly. Right now the image is rendering under the sidebars.



I used packet 248 to change the right-click options to the correct ones
Code:
			p.getItems().resetItems(5064);//the number is the interface id that the inven. items will be transferred over to.
			p.getItems().resetTempItems();
			p.getOutStream().createFrame(248); // tells the client to write the next interface sent over the inventory.
			p.getOutStream().writeWordA(57500);// the interface to show with the inventory
			p.getOutStream().writeWord(5063);//this is the interface id background? have no clue about this one. Someone help me with this.
			p.flushOutStream(); //sends the above packet to the client.
I also saw that someone said you can use packet 142 to do something with the inventory as well, how can i use it?

Other info:
I am using os-pvp, but it is basically project insanity.

Any help? Thanks.