Careful Core Functions makes the core functions check for a window's existance before blindly firing. Version 1.6.2 additionally makes it unlikely for elements to be positioned outside your screen or scaled to size zero.