Fixes for fantom dots and the resize functions