[Port] RSObject#isOnScreen & isClickable incorrect with transparent chatbox
Description of the bug (be specific): If an item or RSObject is behind the transparent and clickable chatbox, the isOnScreen and isClickable methods return false, even though you can click the object through the chatbox (the reason people choose to make it transparent).
In the image, you can see the white portal is behind the transparent, clickable chatbox, yet both the isOnScreen and isClickable methods return false: script.setStatus("Clicking portal (" + (portal.isOnScreen() ? "visible" : "not visible") + ", " + (portal.isClickable() ? "clickable" : "not clickable") + ")");
How often the bug occurs: Every time
Triggers of the bug (if known): I believe the issue is: viewport returns false since it assume that because the chatbox is covering the object, it is not on screen. It should be taken into account that the transparent chatboxes are turned on, however.
Java version: Java Version: 1.8.0_161 64bit
Max Heap: 256MB
TRiBot Client Version: TRiBot Version: TRiBot Release 9.400_1
Looking Glass (yes/no): no
Operating System: Windows 10
TRiBot Old-School or RS3: 07