Fixed screen attach issue